package top.wardyan.base.util.swt;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.MessageBox;

public class Msg {
	
	public static void showMessage(String title, String msg) {
		MessageBox msgbox = new MessageBox(Display.getCurrent().getActiveShell(), SWT.NONE);
		msgbox.setText(title);
		msgbox.setMessage(msg);
		msgbox.open();
		
		msgbox = null;
	}

}
